@import "bootstrap2.css";

body {
    //height: inherit !important;
}

#pdownrefresh {
    left: 0;
    right: 0;
    top: 0;

    .datastatus {
        background: none;
    }
}

#refreshbox {
    // position: fixed;
    // left: 0;
    // right: 0;
    // top: 88px;
    // bottom: 0;
    position: relative;

    #status {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        text-align: center;
        color: #807c7c;
        line-height: 120px;
        display: none;

        span {
            padding-left: 36px;
            //background: url("../img/icon/dn.png") no-repeat left center;
            //background-size: 1rem;
            &.active {
                //background-image: url("../img/icon/up.png");
            }
        }
    }
}

.Btn {
    background: linear-gradient(to right, #4ABBFB, #1476FB);
    padding: 20px 214px;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    border: none;
    font-size: 34px;
    color: #fff;
    margin: 0 auto;
}

.Btn:focus {
    color: #fff;
}

.margAuto {
    margin: 0 auto;
}

.buinessIndex {
    .header {
        img {
            display: block;
            width: 100%;
        }
    }

    .failInfo {
        text-align: center;
        font-size: 32px;
        color: #333;

        img {
            display: block;
            margin: 0 auto;
            width: 116px;
            margin-top: 184px;
        }

        .info {
            padding: 40px 0 18px;
        }

        .Btn {
            margin-top: 122px;
        }
    }

    .menuBox {
        .welcome {
            padding: 30px;
            font-size: 30px;
            color: #333;
        }

        .enter {
            margin-top: 14px;
            text-align: center;

            .enter-col {
                padding: 40px 0;

                img {
                    width: 80px;
                    display: block;
                    margin: 0 auto 30px;
                }
            }

            .enter-col:last-child {
                padding-top: 14px;
            }
        }
    }

    .logoutBtn {
        margin-top: 40px;
        color: #fff;
    }
}

.buinessForm {
    .errorSpan {
        display: none;
    }

    .form {
        padding: 5rem 2rem 40px;

        .group {
            > label {
                color: #333;
                font-size: 33px;
                font-weight: normal;
                text-align: left;
                margin-bottom: 0;
                width: 100%;
            }

            input {
                width: 100%;
                height: 88px;
                padding: 0 20px;
                margin: 20px 0;
                font-size: 1.34rem;
                display: inline-block;
                border-radius: 6px;
                color: #000;
                //box-shadow: none;
            }

            textarea {
                margin: 20px 0;
            }

            p {
                font-size: 22px;
                color: #999;
                margin: 0 0 40px;
            }

            select {
                width: 100%;
                height: 80px;
                //margin: 20px 0;
                border: none;
                border-radius: 6px;
                font-size: 1.34rem;
                -webkit-appearance: none;
                padding: 0 10px;
                transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
            }

            .otherType {
                display: none;
                margin: 20px 0;
            }

            .chose {
                position: relative;
                height: 88px;
                padding: 2px;
                margin: 20px 0 40px;

                input {
                    padding: 0;
                    height: 80px;
                    margin: 0;
                }

                img {
                    width: 36px;
                    display: inline-block;
                    position: absolute;
                    right: 20px;
                    top: 40px;
                }
            }

            .auditStatus {
                text-align: left;
                font-size: 1.34rem;
                color: #ac2925;
            }

            .use-checkbox {
                width: 70%;
            }

            .addBtn {
                border: 1px solid #ddd;
                color: #187BFB;
            }

            .upload {
                position: relative;

                .fileinput {
                    position: absolute;
                    top: 0;
                    left: 0;
                    opacity: 0;
                }
            }

            .deleteImg {
                width: 28px;
                height: 28px;
                background: url("../img/delete.png") no-repeat;
                background-size: contain;
                display: inline-block;
                margin-left: 20px;
            }

            .address {
                width: auto;
            }

            .smallImg {
                width: 240px;
                height: 180px;
                margin-bottom: 20px;
                display: none;
            }
        }

        .submitAudit {
            margin-top: 210px;

            button {
                height: 100px;
            }
        }
    }
}

.addGoods {
    .errorSpan {
        display: none;
    }
    padding: 5rem 2rem 40px;

    .group {
        #Number {
            display: inline-block;
            width: 70%;
            word-wrap: break-word;
        }

        > label {
            color: #333;
            font-size: 33px;
            font-weight: normal;
            text-align: left;
            margin-bottom: 0;
            vertical-align: top;
        }

        input {
            width: 100%;
            height: 88px;
            padding: 0 20px;
            margin: 20px 0 40px;
            font-size: 1.34rem;
            display: inline-block;
            border-radius: 8px;
            color: #000;
        }

        textarea {
            margin: 20px 0;
        }

        p {
            font-size: 22px;
            color: #999;
            margin: 0 0 40px;
        }

        select {
            width: 100%;
            height: 80px;
            font-size: 1.34rem;
            -webkit-appearance: none;
            border: none;
            padding: 0 10px;
        }

        select:focus {
            outline: none;
        }

        .chose {
            position: relative;
            height: 88px;
            padding: 2px;
            margin: 20px 0 40px;

            .ant-cascader-picker {
                width: 100%;

                input {
                    border: none;
                    padding-left: 20px;
                }

                i {
                    display: none;
                }
            }

            input {
                padding: 0;
                height: 80px;
                margin: 0;
            }

            img {
                width: 36px;
                display: inline-block;
                position: absolute;
                right: 20px;
                top: 40px;
            }
        }

        .auditStatus {
            text-align: left;
            font-size: 1.34rem;
            color: #ac2925;
        }

        .use-checkbox {
            width: 70%;
        }

        .addBtn {
            border: 1px solid #ddd;
            color: #187BFB;
        }

        .upload {
            position: relative;

            .fileinput {
                position: absolute;
                top: 0;
                left: 0;
                opacity: 0;
            }

            img {
                width: 240px;
                height: 180px;
                margin-bottom: 20px;
                display: none;
            }
        }

        .addressbox,
        .targetbox {
            text-align: center;

            input {
                width: 40px;
                height: 40px;
                padding: 0;
                margin: 0;
                position: relative;
                left: 30px;
                top: 6px;
                opacity: 0;
            }

            .check {
                margin-right: 40px;
                display: inline-block;
            }

            .checkInput + label {
                background: url("../img/uncheck.png") no-repeat;
                background-size: contain;
                width: 32px;
                height: 32px;
                display: inline-block;
                text-align: center;
                vertical-align: sub;
                line-height: 32px;
                margin: 0 20px 0 0;
            }

            .checkInput:checked + label {
                background: url("../img/checked.png") no-repeat;
                background-size: contain;
            }
        }

        .addressbox {
            text-align: left;
            margin: -10px 0 20px;
        }

        span.tip {
            color: #999;
            font-size: 22px;
            margin: -20px 0 20px;
            display: block;
        }

        #datefrom,
        #dateto {
            width: 40%;
            text-align: center;
            border: solid #ddd 1px;
            border-radius: 8px;
            display: inline-block;
            height: 88px;
            margin-top: 20px;
            line-height: 88px;
        }

        .separation {
            width: 20%;
            display: inline-block;
            text-align: center;
            color: #187BFB;
            line-height: 88px;
        }
    }

    .editAddress {
        display: none;

        input#editAddress {
            padding-left: 20px;
        }
    }

    .effectdate {
        margin: 20px 0;
    }

    .checkgroup {
        margin-bottom: 40px;
    }

    .save {
        margin-top: 250px;
    }
}

.goodsManage {
    background: #eee;
    min-height: 100vh;

    .refreshbox {
        padding-top: 3.7rem;

        .showbtn {
            margin: 30px 0;

            ul.nav {
                width: 360px;
                height: 60px;
                line-height: 2.5rem;
                margin: 1.25rem auto;
                display: flex;
                background: #fff;
                //box-sizing: border-box;
                color: #187BFB;

                li {
                    flex: 1;
                    text-align: center;
                    border: 1px solid #187BFB;
                    color: #187BFB;
                    margin: 0;
                    //border-radius: 4px;
                }

                li.selected {
                    background-color: #187BFB;
                    color: #fff;
                }

                li:first-child {
                    border-bottom-left-radius: 8px;
                    border-top-left-radius: 8px;
                }

                li:last-child {
                    border-bottom-right-radius: 8px;
                    border-top-right-radius: 8px;
                }
            }
        }
    }

    ul.shz,
    ul.ysj {
        margin-bottom: 0;

        .list {
            background: #fff;
            margin-top: 1px;
            padding: 30px;

            .media-item {
                .content {
                    font-size: 28px;

                    h4 {
                        color: #333;
                        margin-bottom: 18px;
                        font-size: 28px;
                    }

                    .extraInfo {
                        margin-bottom: 18px;

                        span {
                            color: #666;
                        }

                        span:first-child {
                            margin-right: 60px;
                        }
                    }

                    .saleNumber {
                        color: #666;

                        span {
                            color: #2D83FB;
                        }
                    }
                }

                .media-left {
                    img {
                        display: block;
                        width: 120px;
                        height: 120px;
                    }
                }

                .media-right {
                    img {
                        width: 20px;
                        display: block;
                    }
                }
            }
        }
    }
}

.goodsDetail {
    padding-top: 88px;
    background: #eee;
    min-height: 100vh;

    ul.goods-info {
        background: #fff;
        padding: 40px 30px 10px;
        margin-bottom: 0;

        > li {
            padding-bottom: 40px;
            font-size: 30px;
            display: flex;

            label {
                color: #333;
                margin: 0;
                padding-right: 60px;
                font-weight: normal;
            }

            span {
                color: #666;
                flex: 2;
                width: 60%;
                word-wrap: break-word;
                img{
                    max-width: 100%;
                }

                .extraTip {
                    color: #999;
                    font-size: 22px;
                    margin-left: 30px;
                }
            }

            .goodpic {
                max-width: 300px;
                text-align: center;

                img {
                    width: 100%;
                    display: block;
                }

                .preLook {
                    color: #999;
                    font-size: 22px;
                }
            }

            .fcolor {
                color: #187BFB;
            }
        }
    }

    .statistics {
        background: #fff;
        padding: 40px 30px;
        border-top: solid 1px #eee;
        display: flex;
        justify-content: space-between;

        .leftBox {
            width: 50%;
            padding-left: 28px;

            div:first-child {
                margin-bottom: 34px;
            }
        }

        .rightBox {
            width: 50%;
            position: relative;

            .guide {
                width: 18px;
                height: 30px;
                position: absolute;
                right: 0;

                img {
                    width: 100%;
                    display: block;
                }
            }
        }

        .fcolor {
            color: #187BFB;
            padding-left: 20px;
        }
    }

    .opt {
        margin: 40px 30px 0;
        padding-bottom: 40px;
        display: flex;
        justify-content: space-between;

        button {
            width: 300px;
            height: 88px;
            border: 8px;
            padding: 0;
            margin: 0;
        }

        .delete {
            background: #fff;
            color: #FF5D59;
            font-size: 30px;
        }
    }
}

.order {
    background: #eee;
    min-height: 100vh;

    .orderManage {
        padding: 3.667rem 30px 0;

        .searchBox {
            margin: 20px 0;
        }

        ul {
            margin-bottom: 0;
            padding-bottom: 40px;

            li {
                padding: 30px;
                background: #fff;
                margin-bottom: 14px;
                border-radius: 8px;
                color: #333;
                font-size: 28px;
                line-height: 28px;

                .name {
                    margin: 20px 0;
                }

                .media-body {
                    div {
                        span:first-child {
                            width: 30%;
                            display: inline-block;
                        }

                        span:last-child {
                            width: 68%;
                            display: inline-block;
                        }
                    }
                }

                .orderNumber {
                    span:last-child {
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                    }
                }

                .media-right {
                    img {
                        width: 20px;
                        display: block;
                    }
                }
            }

            li:nth-last-child(2)  {
                margin-bottom: 0;
            }
        }
    }
}

.orderDetail {
    background: #eee;
    min-height: 100vh;

    .orderbox {
        padding: 102px 30px 0;
        font-size: 30px;
        color: #333;

        .orderInfo,
        .orderNo,
        .useInfo {
            padding: 25px 30px;
            background: #fff;
            border-radius: 8px;
            margin-bottom: 0;

            li {
                margin: 15px 0;

                label {
                    font-weight: normal;
                    margin-bottom: 0;
                }

                .useStatus {
                    span:first-child {
                        margin-right: 20px;
                    }

                    .used {
                        color: #999;
                    }

                    .unUsed {
                        color: #187BFB;
                    }
                }
            }
        }

        .orderNo {
            padding: 10px 30px;
            margin-bottom: 20px;
        }

        h4 {
            margin: 20px 30px;
            font-size: 28px;
            color: #666;
        }
    }
}

.numberVerify {
    padding: 3.7rem 2rem 0;

    .enterInput {
        padding: 286px 0;
        //position: relative;
        h4 {
            color: #333;
            font-size: 30px;
            margin-bottom: 40px;
        }

        .saoBox {
            height: 88px;
            border-radius: 8px;
            padding: 0;
            position: relative;

            input {
                height: 84px;
                margin-left: 2px;
            }

            .serial {
                width: 80%;
                padding-left: 20px;
            }

            .sao {
                width: 44px;
                height: 44px;
                position: absolute;
                right: 10px;
                top: 22px;
                display: inline-block;
            }
        }
    }
}

.useDetail {
    background: #eee;
    padding-top: 3.667rem;
    min-height: 100vh;

    .totalInfo {
        background: #fff;
        padding: 20px 0;
        margin-bottom: 14px;

        div {
            padding-left: 80px;
            display: inline-block;
            width: 50%;
            color: #333;
            font-size: 30px;

            span {
                color: #187BFB;
                margin-left: 20px;
            }
        }

        :first-child {
            margin-right: 10%;
            margin-bottom: 14px;
        }

        :last-child {
            padding-left: 0;
        }
    }

    .useList {
        margin: 0 30px;
        font-size: 28px;
        color: #333;

        li {
            background: #fff;
            border-radius: 8px;
            margin-bottom: 14px;
            padding: 35px 0 25px;

            div {
                padding-bottom: 10px;

                span:first-child {
                    width: 180px;
                    display: inline-block;
                    text-align: right;
                    margin-right: 20px;
                }
            }
        }

        :last-child {
            margin-bottom: 0;
        }
    }
}

.companyData {
    padding-top: 3.77rem;
    padding-bottom: 100px;

    ul.companyInfo {
        margin: 40px 30px;
        color: #333;
        font-size: 28px;

        li {
            margin-bottom: 40px;

            label {
                width: 35%;
                display: inline-block;
                text-align: right;
                font-weight: normal;
                padding-right: 20px;
                vertical-align: top;
            }

            > span {
                width: 65%;
                display: inline-block;
                word-wrap: break-word;
            }

            img {
                width: 200px;
                height: 200px;
                display: inline-block;
            }
        }
    }
}

.tipimg {
    margin-top: 90px;

    img {
        width: 140px;
        height: 120px;
        display: block;
        margin: 0 auto;
        color: #c9302c;
    }

    p {
        font-size: 32px;
        color: #333;
        margin-top: 34px;
        text-align: center;
    }
}
